'''
@author: saaj
@license: LGPL
'''


import cherrypy
import application


def initialize(environment):
  try:
    cherrypy.config.update({'environment' : environment})
  except KeyError:
    pass # allow environments undefined in cherrypy._cpconfig.environments
   
  application.Bootstrap()